package pers.bc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import java.time.Duration;
import java.time.Instant;

@SpringBootApplication (exclude = {DataSourceAutoConfiguration.class})
public class FrameworklevelpluginApplication
{

    public static void main(String[] args)
    {
        Instant startTime = Instant.now();
        System.err.println("开始启动：" + startTime);
        SpringApplication.run(FrameworklevelpluginApplication.class, args);
        System.err.println(String.format("启动完成时间是：{[%s]}一共运行：{[%s ms]}",
                                         Instant.now(),
                                         Duration.between(startTime, Instant.now()).toMillis()));
    }

}
